package com.linkq.ipinyin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @FileName BcFile
 * @Description
 * @Author wangpeng
 * @date 2024-11-12
 **/

@Entity
@TableName("t_file")
@Table(name = "t_file")
@Data
public class BcFile extends Model<BcFile> implements Serializable {
    @Id
    @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    private String fileName;

    private String sourceName;

    private String fileType;

    private String filePath;
}
